package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 产品类别表
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "goods_category")
public class GoodsCategory implements Serializable {
    /**
     * 产品类别id
     */
    @TableId(value = "goods_category_no", type = IdType.INPUT)
    private Integer goodsCategoryNo;

    /**
     * 产品类别父级id
     */
    @TableField(value = "parent_id")
    private Integer parentId;

    /**
     * 产品类别名称
     */
    @TableField(value = "category_name")
    private String categoryName;

    private static final long serialVersionUID = 1L;
}